export interface ChannelOnboardingApplication {
  id: string
  merchantId: string
  merchantName: string
  channelCode: string
  channelName: string
  applicationDate: string
  status: 'pending' | 'submitted' | 'approved' | 'rejected' | 'processing'
  submitDate?: string
  responseDate?: string
  channelMerchantId?: string
  rejectReason?: string
  progress: {
    dataSubmit: boolean
    materialReview: boolean
    channelReview: boolean
    contractSign: boolean
  }
  channelResponse?: string
}

export const channelOnboardingData: ChannelOnboardingApplication[] = [
  {
    id: 'CHO20250101001',
    merchantId: 'MER20250101001',
    merchantName: '智慧零售有限公司',
    channelCode: 'ALIPAY',
    channelName: '支付宝',
    applicationDate: '2025-01-16 10:00:00',
    status: 'processing',
    submitDate: '2025-01-16 10:30:00',
    progress: {
      dataSubmit: true,
      materialReview: true,
      channelReview: false,
      contractSign: false
    }
  },
  {
    id: 'CHO20250101002',
    merchantId: 'MER20250101002',
    merchantName: '云端科技股份有限公司',
    channelCode: 'WECHAT',
    channelName: '微信支付',
    applicationDate: '2025-01-15 14:20:00',
    status: 'approved',
    submitDate: '2025-01-15 15:00:00',
    responseDate: '2025-01-16 09:30:00',
    channelMerchantId: 'WX1234567890',
    progress: {
      dataSubmit: true,
      materialReview: true,
      channelReview: true,
      contractSign: true
    }
  }
]

export const channelOptions = [
  { label: '支付宝', value: 'ALIPAY', color: 'blue' },
  { label: '微信支付', value: 'WECHAT', color: 'green' },
  { label: '银联支付', value: 'UNIONPAY', color: 'orange' },
  { label: '京东支付', value: 'JDPAY', color: 'red' }
]

export const statusOptions = [
  { label: '待提交', value: 'pending', color: 'default' },
  { label: '已提交', value: 'submitted', color: 'processing' },
  { label: '处理中', value: 'processing', color: 'processing' },
  { label: '已通过', value: 'approved', color: 'success' },
  { label: '已拒绝', value: 'rejected', color: 'error' }
]